﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SuccinctCS
{
    public class EmptyList<T> : IImmutableList<T>
    {
        public T Head()
        {
            return default(T);
        }

        public IImmutableList<T> Tail()
        {
            return this;
        }

        public bool IsEmpty
        {
            get
            {
                return true;
            }
        }
    }
}
